home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
TimeObjects.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
8KB
|
259 lines
/*
File: TimeObjects.idl
Contains: International Time Interfaces.
Version: Technology: System 8
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __TIMEOBJECTS_IDL__
#define __TIMEOBJECTS_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __CONDITIONALMACROS_IDL__
#include <ConditionalMacros.idl>
#endif
#ifndef __KERNEL_IDL__
#include <Kernel.idl>
#endif
#ifndef __LOCALEOBJECTS_IDL__
#include <LocaleObjects.idl>
#endif
#ifndef __OSUTILS_IDL__
#include <OSUtils.idl>
#endif
#ifndef __TEXTOBJECTS_IDL__
#include <TextObjects.idl>
#endif
#ifndef __TIMING_IDL__
#include <Timing.idl>
#endif
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifdef __SOMIDL__
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ ++
++ Type definitions for Modern APIs ++
++ ++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#if FOR_SYSTEM8_PREEMPTIVE
/* Precision of TimeObject */
typedef UInt8 TimeObjectPrecision;
/* Maximun Time Object Precision */
typedef UInt32 TimeObjectNotificationRef;
typedef SOMLargeStruct MachineLocationRecord; /* Derived from a struct of 40 bytes in size */
typedef OpaquePtr MachineLocationRecordPtr; /* Substituted OpaquePtr for ``MachineLocationRecord*'' */
typedef OpaquePtr ConstMachineLocationRecordPtr; /* Substituted OpaquePtr for ``MachineLocationRecord*'' */
typedef SOMLargeStruct UTCTimeRecord; /* Derived from a struct of 25 bytes in size */
typedef OpaquePtr UTCTimeRecordPtr; /* Substituted OpaquePtr for ``UTCTimeRecord*'' */
typedef OpaquePtr ConstUTCTimeRecordPtr; /* Substituted OpaquePtr for ``UTCTimeRecord*'' */
typedef SOMLargeStruct UTCTimeIntervalRecord; /* Derived from a struct of 29 bytes in size */
typedef OpaquePtr UTCTimeIntervalRecordPtr; /* Substituted OpaquePtr for ``UTCTimeIntervalRecord*'' */
typedef OpaquePtr ConstUTCTimeIntervalRecordPtr; /* Substituted OpaquePtr for ``UTCTimeIntervalRecord*'' */
typedef UInt32 TimeObjectConversionType;
typedef LocaleObjectRef CalendarObjectRef;
typedef TextObject TimeObjectFormatString;
/* DateTimeFormat Types: */
typedef UInt32 FormatStringRef;
#endif
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ ++
++ Type definitions for Legacy APIs ++
++ ++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
/*
Here are the current routine names and the translations to the older forms.
Please use the newer forms in all new code and migrate the older names out of existing
code as maintainance permits.
New Name Old Name(s)
DateString IUDatePString IUDateString
InitDateCache
LongDateString IULDateString
LongTimeString IULTimeString
StringToDate String2Date
StringToTime
TimeString IUTimeString IUTimePString
*/
typedef SInt8 DateForm;
typedef short StringToDateStatus;
typedef short String2DateStatus;
typedef SOMLargeStruct DateCacheRecord; /* Derived from a struct of 512 bytes in size */
typedef OpaquePtr DateCachePtr; /* Substituted OpaquePtr for ``DateCacheRecord*'' */
#endif
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ ++
++ Modern API Definitions ++
++ ++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#if FOR_SYSTEM8_PREEMPTIVE
/*
*********************************************************
*
* TimeObject Constructors
*
*********************************************************
*/
/*
*********************************************************
*
* Getter and Setter Functions for TimeObjects
*
*********************************************************
*/
/*
*********************************************************
*
* Getter and Setter Functions for Machine Location
*
*********************************************************
*/
/*
*********************************************************
*
* Getter and Setter Functions for TimeObjects Precision
*
*********************************************************
*/
/*
*********************************************************
*
* Timers
*
*********************************************************
*/
/*
*********************************************************
*
* Manipulation and Comparison functions for TimeObjects
*
*********************************************************
*/
/*
*********************************************************
*
* TimeObjects to Seconds from 1/1/04 conversion functions
*
*********************************************************
*/
/*
*********************************************************
*
* TimeObjectIntervals to Nanosecond conversion functions
*
*********************************************************
*/
/*
*********************************************************
*
* Internet Time/Mail Conversion Routines
*
*********************************************************
*/
/*
*********************************************************
*
* Calendar Routines
*
*********************************************************
*/
/*
*********************************************************
*
* Text Conversion Routines
*
*********************************************************
*/
#endif
/*
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
++ ++
++ Legacy API Definitions ++
++ ++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*/
#if FOR_SYSTEM7_AND_SYSTEM8_DEPRECATED
/*
**************************************************************************************
*
* The following functions are new names that work on 68k and PowerPC
*
**************************************************************************************
*/
/*
**************************************************************************************
*
* The following are macros which map new names to the names exported by InterfaceLib
*
**************************************************************************************
*/
/*
**************************************************************************************
*
* The following are macros which map old names to the names exported by InterfaceLib
*
**************************************************************************************
*/
#if CGLUESUPPORTED
#if OLDROUTINENAMES
#else
#endif
#endif
#endif
#endif /* __SOMIDL__ */
#endif /* __TIMEOBJECTS_IDL__ */